package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author 刘国航
 * @desc
 * @since 2024/11/27 14:58
 */
@Data
public class DaoPledgeDetailCommercialVO implements java.io.Serializable {

    private static final long serialVersionUID = 2780250869324718681L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("活动封面")
    private String coverPicture;

    @ApiModelProperty("活动主图")
    private String masterPicture;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("活动状态")
    private Boolean status;

    @ApiModelProperty("活动规则")
    private String activeRule;

    @ApiModelProperty("藏品列表")
    private List<DaoPledgeDetailCollectionCommercialVO> collectionList;

    @ApiModelProperty("发行期列表")
    private List<DaoPledgeDetailPeriodsCommercialVO> periodsList;

    @ApiModelProperty("产出列表")
    private List<DaoPledgeDetailProduceCommercialVO> produceList;

    @ApiModelProperty("直推比例")
    private BigDecimal pushRatio;

    @ApiModelProperty("是否消耗共识度")
    private Boolean consumeConsensus;

}
